﻿using DataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace KhoaLuan.MainSys.Manager.Controls
{
    public partial class AddNewResourceType : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            show_OrgID();
        }


        tbOrg_Proxy pr = new tbOrg_Proxy();
        void show_OrgID()
        {
            List<tbOrg> dt = new List<tbOrg>();
            dt = pr.SelectAlltbOrg_Proxy();
            this.drOrg.DataSource = dt;
            this.drOrg.DataTextField = "NameOrg";
            this.drOrg.DataValueField = "OrgID";
            this.drOrg.DataBind();
            dt.Clear();
            dt = null;
        }
    }
}